#include "teacher.h"

using namespace std;

ofstream& operator<<(ofstream& f, const Teacher& df) {
    f   << "Teacher" << endl
        << df.name << endl
        << df.address << endl
        << df.id << endl
        << df.availability << endl
        << df.balance << endl;

    return f;
}

ostream& operator<<(ostream& f, const Teacher& df){
    f << "Type: Teacher" << endl
      << "Name: " <<  df.name << endl
      << "Address: " << df.address << endl
      << "Id: " << df.id << endl
      << "Availability: " << df.availability << endl
      << "Balance: " << df.balance << endl;

    return f;
}

